package com.maiji.cloud.entities.login;


import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@NoArgsConstructor
@Data
@Accessors(chain=true)
@Table(name = "share_weight_help_user_log")
@TableName("share_weight_help_user_log")
public class ShareWeightHelpUserLogEntity {
	
	@Column(name = "uu_id", type = MySqlTypeConstant.VARCHAR, length = 50, isKey = true)
	private String uuId;
	//获取的基础基金记录id
	@Column(name = "reduce_weight_fund_log_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String reduceWeightFundLogId;
	
	@Column(name = "weight_change_log_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String weightChangeLogId; // 体重记录id
	
	@Column(name = "help_money", type = MySqlTypeConstant.DOUBLE, length = 8, decimalLength = 2)
	private Double helpMoney;//助力金额
	
	@Column(name = "user_id", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String userId;//助力用户id
	
	@Column(name = "nickname", type = MySqlTypeConstant.VARCHAR, length = 50)
	private String nickname;//昵称
	
	@Column(name = "head_url", type = MySqlTypeConstant.VARCHAR, length = 255)
	private String headUrl;//头像
	
	@Column(name = "is_new_user", type = MySqlTypeConstant.INT, length = 2,defaultValue = "0")
	private Integer isNewUser;//是否是新用户助力
	
	@Column(name = "in_time", type = MySqlTypeConstant.DATETIME)
    private Date inTime;  //记录时间
	
	
}
